apiVersion: v1
clusters:
- name: cluster-sslskip
  cluster:
    server: {{ kube_api.url }}
    insecure-skip-tls-verify: true
- name: cluster-ssl
  cluster:
    certificate-authority: {{ ca_cert }}
    server: {{ kube_api.url }}
contexts:
- context:
    cluster: cluster-ssl
    user: node_ssl
  name: node@cluster-ssl
- context:
    cluster: cluster-sslskip
    user: node_ssl
  name: node@cluster-sslskip
current-context: node@cluster-ssl
kind: Config
users:
- name: node_ssl
  user:
    client-certificate: {{ cert_dir }}/node-{{ ansible_hostname }}.pem
    client-key: {{ cert_dir }}/node-{{ ansible_hostname }}-key.pem
